package com.oktest.measure.entity

import androidx.annotation.Keep
import androidx.room.Entity
import androidx.room.PrimaryKey


/**
 * @Author hhh
 * @Date 2020/9/17
 */

@Keep
@Entity(tableName = "HomeNotice")
data class HomeNotice(
    @PrimaryKey var id: String = "",
    var title: String = "",
    var createTime: String = "",
    var isNew: Boolean = true
)

@Keep
data class NoticeDetail(
    var id: String = "",
    var title: String = "",
    var content: String = "",
    var createTime: String = ""
)

@Keep
@androidx.room.Entity(tableName = "HomeTask")
data class HomeTask(
    @PrimaryKey
    var id: String = "",
    var name: String = "",
    var startupTime: String = "",
    var download: Boolean = false,  // 是否已经下载
    var isReceived: Boolean = false  // 是否已经接受
)

@Keep
@Entity(tableName = "HomeTaskDetail")
data class HomeTaskDetail(
    var duration: Int = 0,
    var explain: String = "",
    @PrimaryKey
    var id: String = "",
    var length: Int = 0,
    var mainDebugger: String = "",
    var responsible: String = "",
    var slaveDebugger: String = "",
    var startupTime: String = "",
    var station: String = "",
    var stationType: String = "",
    var status: String = "",
    var fileId: String = ""
)

@Keep
data class Member(var memberId:String = "")

@Keep
data class FeedbackFile(var ids: String = "")



